import { 
  User,
  Setting,
  Menu as MenuIcon,
  OfficeBuilding,
  Postcard,
  Document,
  Bell,
  Tools
} from '@element-plus/icons-vue';

// 定义菜单项接口
export interface MenuItem {
  path: string;
  title: string;
  icon?: any;
  children?: MenuItem[];
}

/**
 * System App 菜单配置
 */
export const systemMenuConfig: MenuItem[] = [
  {
    path: '/system/user',
    title: '用户管理',
    icon: User,
    children: []
  },
  {
    path: '/system/role',
    title: '角色管理', 
    icon: Setting,
    children: []
  },
  {
    path: '/system/menu',
    title: '菜单管理',
    icon: MenuIcon,
    children: []
  },
  {
    path: '/system/dept',
    title: '部门管理',
    icon: OfficeBuilding,
    children: []
  },
  {
    path: '/system/post',
    title: '岗位管理',
    icon: Postcard,
    children: []
  },
  {
    path: '/system/dict',
    title: '字典管理',
    icon: Document,
    children: [
      {
        path: '/system/dict/type/data/1',
        title: '字典数据',
        icon: Document
      }
    ]
  },
  {
    path: '/system/config',
    title: '参数设置',
    icon: Tools,
    children: []
  },
  {
    path: '/system/notice',
    title: '通知公告',
    icon: Bell,
    children: []
  }
];
